package com.zbkj.dal.base.enums;

import com.zbkj.dal.base.enums.show.EnumInterface;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum SettleStatus implements EnumInterface<String> {
    UN_SETTLE("UN_SETTLE", "待结算"),
    SETTLE_FROZEN("SETTLE_FROZEN", "冻结中"),
    SETTLE_PENDING("SETTLE_PENDING", "结算中"),
    SETTLE_FINISH("SETTLE_FINISH", "已结算"),
    CLOSED("CLOSED", "已关闭"),
    RECYCLE("RECYCLE", "已回收"),
    ;

    private final String code;
    private final String desc;

    @Override
    public String code() {
        return getCode();
    }

    @Override
    public String desc() {
        return getDesc();
    }
}
